package cn.ucai.day02_Override;

public class Test {

	public static void main(String[] args) {
		Student stu=new Student();
		stu.setAge(24);
		stu.setName("甲乙丙丁");
		stu.setSno("22222");
		stu.desc();
		
		//父类中重写过了toString，子类继承重写过的
		System.out.println(stu);
	}

}
